const w = require('./src/utils/wallpaper');
const c = require('./src/utils/config');
const crypto = require('crypto');

let conf = new c();

let wa = new w();
let url = 'http://h1.ioliu.cn/bing/HighlandsSquirrel_ZH-CN1369975915_1920x1080?d=wew&da';
wa.download('http://h1.ioliu.cn/bing/HighlandsSquirrel_ZH-CN1369975915_1920x1080.jpg', conf.getDownloadPath(), {}, (receivedBytes, totalBytes, localPath) => {
    console.log(receivedBytes, totalBytes, localPath);
});

